# -*- coding: UTF-8 -*-
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import Select
import time,json,requests,threading


driver = webdriver.Firefox()


driver.get('https://www.liepin.com/login?backUrl=https%3A%2F%2Fwww.liepin.com%2Fcity-hz%2Fzpdaoyoua%2F')

mobile=15200324938

time.sleep(60)
	


def a():
	while(True):
		try:
			boss=driver.find_element(By.CSS_SELECTOR,".get-smscode-btn.get-smscode-btn-active")
			boss.click()
		except Exception as e:
			print("error1")
		time.sleep(70)

if __name__ == '__main__':
	# while(True):
	# 	a()
	# 	b()
	# 	c()
	# 	d()
	# 	e()
	# 	f()
	a()

	

		
